<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_margin="8dp"
        android:gravity="end">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:padding="8dp"
            android:orientation="vertical"
            android:background="@color/notice_gray"
            android:layout_margin="8dp">

            <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:textColor="@color/notice_gray_text"
                android:text="@string/giftcard_title"
                android:layout_margin="8dp" />

            <EditText
                android:id="@+id/edit"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/giftcard_hint"
                android:minLines="1"
                android:maxLines="1"
                android:textAllCaps="true"
                android:inputType="textCapCharacters"
                android:importantForAutofill="no"
                android:layout_marginLeft="4dp"
                android:layout_marginRight="4dp" />

            <TextView
                android:id="@+id/giftcard_result"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:textColor="@color/notice_gray_text"
                android:layout_margin="8dp"
                android:visibility="gone"/>

            <ImageView
                android:id="@+id/giftcard"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_margin="8dp"
                android:visibility="gone" />

        </LinearLayout>

        <Button
            android:id="@+id/redeem"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/giftcard_test"
            android:visibility="visible" />

    </LinearLayout>

</ScrollView>